﻿using FriendStar.Code;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using FriendStar.Application.BaseData;
using FriendStar.Domain.Entity.BaseData;

namespace FriendStar.Web.Areas.BaseData.Controllers
{
    public class ZSJ_21_RQ_DatContainerController : ControllerBase
    {
        //容器
        // GET: /BaseData/ZSJ_21_RQ_DatContainer/
        private ZSJ_21_RQ_DatContainerApp dutyApp = new ZSJ_21_RQ_DatContainerApp();

        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson(string keyword)
        {
            var data = dutyApp.GetList(keyword);
            return Content(data.ToJson());
        }
        public ActionResult GetContainer()//不是输入获取容器
        {
            var data = dutyApp.GetContainer(Configs.GetValue("UseUnit"));
            return Content(data.ToJson());
        }
    }
}




